package api_.string_;

public class CharAtDemo
{
    public static void main(String[] args)
    {
        String s  = "thinking in java";
        System.out.println(s.charAt(1));
        char c = s.charAt(11);
//        char c2 = s.charAt(111);//异常 StringIndexOutOfBoundsException
    }
}
